<?php
/*
 * @开发工具: JetBrains PhpStorm.
 * @文件名：IApiConfig.class.php
 * @类功能: api配置文件
 * @开发者: zc
 * @开发时间： 14-10-28
 * @版本：version 1.0
 */
namespace app\partner\ext;

class IApiConfig{
    //API配置文件
    public static $api = array(
        //===================共通接口====================
        "system/start" => array(
            "api_group" => "共通接口",
            "api_name" => "初始化接口",
            "api_param" => array(
                array("name"=>"设备编号","code"=>"device_no"),
                array("name"=>"系统区分","code"=>"os"),
                array("name"=>"系统版本","code"=>"version"),
            ),
        ),
        "system/config" => array(
            "api_group" => "共通接口",
            "api_name" => "取得常量值接口",
            "api_param" => array(
                array("name"=>"常量编号（多个值用逗号隔开）","code"=>"config_code"),
            ),
        ),
        "system/sms" => array(
            "api_group" => "共通接口",
            "api_name" => "发送短信验证码",
            "api_param" => array(
                array("name"=>"手机号码","code"=>"phone"),
            ),
        ),
        "system/ad" => array(
            "api_group" => "共通接口",
            "api_name" => "取得广告图片列表",
            "api_param" => array(
                array("name"=>"城市编号","code"=>"city_id"),
                array("name"=>"广告位置编号【<br>HomeTop：首页头部广告<br>HomeMiddle：首页中部广告<br>】","code"=>"location_code"),
            ),
        ),
        "system/protocol" => array(
            "api_group" => "共通接口",
            "api_name" => "取得协议内容",
            "api_param" => array(
                array("name"=>"协议编号【<br>LoanProtocol：客户APP<br>CreditProtocol：信贷APP<br>】","code"=>"protocol_code"),
            ),
        ),
        "system/area" => array(
            "api_group" => "共通接口",
            "api_name" => "取得行政区域列表",
            "api_param" => array(
                array("name"=>"上层节点编号","code"=>"parent_id"),
            ),
        ),
        "system/location" => array(
            "api_group" => "共通接口",
            "api_name" => "区域定位",
            "api_param" => null,
        ),
        "system/city" => array(
            "api_group" => "共通接口",
            "api_name" => "通过城市名称取得城市编号及名称",
            "api_param" => array(
                array("name"=>"城市名称","code"=>"city_name"),
            ),
        ),
        "system/announcement_list" => array(
            "api_group" => "共通接口",
            "api_name" => "系统公告",
            "api_param" => array(
                array("name"=>"最下面数据编号（首次请求为空,announcement_id）","code"=>"bottom_id"),
            ),
        ),
        "system/announcement_read" => array(
            "api_group" => "共通接口",
            "api_name" => "设置公告阅读状态",
            "api_param" => array(
                array("name"=>"公告编号","code"=>"announcement_id"),
            ),
        ),
        "system/message" => array(
            "api_group" => "共通接口",
            "api_name" => "取得系统消息",
            "api_param" => array(
                array("name"=>"APP缓存中消息最小ID，为空时取得全部","code"=>"bottom_id"),
            ),
        ),
        "system/message_read" => array(
            "api_group" => "共通接口",
            "api_name" => "设置消息读取状态",
            "api_param" => array(
                array("name"=>"消息ID","code"=>"message_id"),
            ),
        ),
        "system/not_read_num" => array(
            "api_group" => "共通接口",
            "api_name" => "取得未读取数量（公告、消息）",
            "api_param" => null,
        ),
        "system/bank_list" => array(
            "api_group" => "共通接口",
            "api_name" => "存在信用卡的银行列表",
            "api_param" => array(
//                array("name"=>"城市编号","code"=>"city_id"),
            ),
        ),
        "system/suggest" => array(
            "api_group" => "共通接口",
            "api_name" => "用户建议",
            "api_param" => array(
                array("name"=>"建议内容","code"=>"content"),
            ),
        ),
        "system/lang" => array(
            "api_group" => "共通接口",
            "api_name" => "语言包",
            "api_param" => array(
            ),
        ),

        //===================用户相关接口====================
        "user/reg" => array(
            "api_group" => "用户相关接口",
            "api_name" => "用户注册",
            "api_param" => array(
                array("name"=>"手机号","code"=>"phone"),
                array("name"=>"密码","code"=>"pwd"),
                array("name"=>"短信验证码","code"=>"verification"),
            ),
        ),
        "user/login" => array(
            "api_group" => "用户相关接口",
            "api_name" => "用户登录",
            "api_param" => array(
                array("name"=>"手机号","code"=>"phone"),
                array("name"=>"密码","code"=>"pwd"),
            ),
        ),
        "user/sms_login" => array(
            "api_group" => "用户相关接口",
            "api_name" => "用户短信登录",
            "api_param" => array(
                array("name"=>"手机号","code"=>"phone"),
                array("name"=>"短信验证码","code"=>"verification"),
            ),
        ),
        "user/logout" => array(
            "api_group" => "用户相关接口",
            "api_name" => "用户退出登录",
            "api_param" => array(
                array("name"=>"设备编号","code"=>"device_no"),
                array("name"=>"系统区分","code"=>"os"),
                array("name"=>"系统版本","code"=>"version"),
            ),
        ),
        "user/login_info" => array(
            "api_group" => "用户相关接口",
            "api_name" => "取得登录用户信息",
            "api_param" => null,
        ),
        "user/set_field" => array(
            "api_group" => "用户相关接口",
            "api_name" => "设置用户基础字段信息",
            "api_param" => array(
                array("name"=>"字段名称[nick：昵称、avatar：头像】","code"=>"field"),
                array("name"=>"字段值","code"=>"value"),
            ),
        ),
        "user/upd_pwd" => array(
            "api_group" => "用户相关接口",
            "api_name" => "修改密码",
            "api_param" => array(
                array("name"=>"短信验证码","code"=>"user_verification"),
                array("name"=>"新密码","code"=>"new_pwd"),
            ),
        ),
        "user/find_pwd" => array(
            "api_group" => "用户相关接口",
            "api_name" => "找回密码",
            "api_param" => array(
                array("name"=>"电话号码","code"=>"user_phone"),
                array("name"=>"短信验证码","code"=>"verification"),
                array("name"=>"新密码","code"=>"new_pwd"),
            ),
        ),
        //===================客户相关接口====================
        "asset/asset_info" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "获取客户资产详情",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
            ),
        ),
        "asset/info_real" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "设置身份信息",
            "api_param" => array(
                array("name"=>"身份证正面","code"=>"identity_front_url"),
                array("name"=>"身份证反面","code"=>"identity_back_url"),
                array("name"=>"姓名","code"=>"real"),
                array("name"=>"身份证号","code"=>"identity"),
                array("name"=>"性别【2：男；3：女】","code"=>"sex"),
                array("name"=>"年龄","code"=>"age"),
                array("name"=>"户籍地址","code"=>"birth_address"),
            ),
        ),
        "asset/user_info" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "获取客户信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
            ),
        ),
        "asset/info_user" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "设置基本信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"婚姻状况【1:未婚；2：已婚；3：离异】","code"=>"is_marry"),
                array("name"=>"配偶姓名","code"=>"couple_name"),
                array("name"=>"配偶手机","code"=>"couple_phone"),
                array("name"=>"文化程度【1：专科以下；2：专科；3：本科；4：研究生】","code"=>"education"),
                array("name"=>"手机号码","code"=>"loan_phone"),
                array("name"=>"居住地址","code"=>"domicile_address"),
                array("name"=>"职业【1：自由职业；2：上班族；3：老板】","code"=>"occupation"),
                array("name"=>"月均收入","code"=>"monthly_income"),
            ),
        ),
        "asset/info_asset" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "设置资产信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"是否有公司【1：没有；2：有】","code"=>"is_company"),
                array("name"=>"是否有房产【1：没有；2：有】","code"=>"is_house"),
                array("name"=>"是否有信用卡【1：没有；2：有】","code"=>"is_credit_card"),
                array("name"=>"是否有社保【1：没有；2：有】","code"=>"is_social"),
                array("name"=>"是否有公积金【1：没有；2：有】","code"=>"is_accumulation_fund"),
                array("name"=>"是否有逾期【1:没有；2：有】","code"=>"is_overdue"),
                array("name"=>"是否有法院执行记录【1:没有；2：有】","code"=>"is_court"),
                array("name"=>"是否有保单【1:没有；2：有】","code"=>"is_policy"),
                array("name"=>"是否有车辆【1:没有；2：有】","code"=>"is_car"),
                array("name"=>"是否有贷款【1:没有；2：有】","code"=>"is_loan"),
            ),
        ),
        "asset/info_overdue" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "设置逾期信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"最近半年【1：无；2：有】","code"=>"half_year"),
                array("name"=>"未超过30天","code"=>"half_year_less_30"),
                array("name"=>"30天以上","code"=>"half_year_over_30"),
                array("name"=>"60天以上","code"=>"half_year_over_60"),
                array("name"=>"90天以上","code"=>"half_year_over_90"),
                array("name"=>"最近一年【1：无；2：有】","code"=>"one_year"),
                array("name"=>"未超过30天","code"=>"one_year_less_30"),
                array("name"=>"30天以上","code"=>"one_year_over_30"),
                array("name"=>"60天以上","code"=>"one_year_over_60"),
                array("name"=>"90天以上","code"=>"one_year_over_90"),
                array("name"=>"最近三年【1：无；2：有】","code"=>"three_year"),
                array("name"=>"未超过30天","code"=>"three_year_less_30"),
                array("name"=>"30天以上","code"=>"three_year_over_30"),
                array("name"=>"60天以上","code"=>"three_year_over_60"),
                array("name"=>"90天以上","code"=>"three_year_over_90"),
                array("name"=>"连续逾期【1：无；2：有】","code"=>"continuity"),
                array("name"=>"未超过30天","code"=>"continuity_less_30"),
                array("name"=>"30天以上","code"=>"continuity_over_30"),
                array("name"=>"60天以上","code"=>"continuity_over_60"),
                array("name"=>"90天以上","code"=>"continuity_over_90"),
            ),
        ),
        "asset/overdue_info" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "获取逾期信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
            ),
        ),
        "user_car/car_list" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>车辆信息</font>列表",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_car/car_brand" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆品牌列表",
            "api_param" => null,
        ),
        "user_car/car_model" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆型号列表",
            "api_param" => array(
                array("name"=>"品牌编号","code"=>"car_brand_id"),
            ),
        ),
        "user_car/car_config" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆配置列表",
            "api_param" => array(
                array("name"=>"品牌编号","code"=>"car_brand_id"),
                array("name"=>"型号编号","code"=>"car_model_id"),
            ),
        ),
        "user_car/car_add" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆信息添加",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"品牌编号","code"=>"car_brand_id"),
                array("name"=>"型号编号","code"=>"car_model_id"),
                array("name"=>"配置编号","code"=>"car_config_id"),
                array("name"=>"所有人【1：本人；2：配偶；3：夫妻共有；4：子女；5：父母；6：其它】","code"=>"holder_type"),
                array("name"=>"所有人【holder_type选择其它时填写】","code"=>"holder_name"),
                array("name"=>"行驶公里数","code"=>"run_mileage"),
                array("name"=>"裸车价格（单位：万元）","code"=>"car_money"),
                array("name"=>"购买日期","code"=>"buy_time"),
                array("name"=>"付款方式【1：按揭；2：全款】","code"=>"pay_type"),
//                array("name"=>"使用年限【全款】","code"=>"full_use_year"),
                array("name"=>"贷款金额【按揭】（单位：万元）","code"=>"installment_loan_money"),
                array("name"=>"贷款周期【按揭】（单位：年）","code"=>"installment_loan_cycle"),
                array("name"=>"月还款金额【按揭】（单位：元）","code"=>"installment_month_repay"),
                array("name"=>"已还期数【按揭】","code"=>"installment_repay_count"),
                array("name"=>"办理银行【按揭】","code"=>"installment_handling_bank"),
                array("name"=>"是否抵押【1：否；2：是】","code"=>"is_mortgage"),
                array("name"=>"还款方式【1：先息后本；2：等额本息】","code"=>"mortgage_pay_type"),
                array("name"=>"抵押金额（单位：万元）","code"=>"mortgage_money"),
                array("name"=>"抵押日期","code"=>"mortgage_start_time"),
                array("name"=>"抵押到期","code"=>"mortgage_end_time"),
                array("name"=>"行驶证图片","code"=>"licence_url")
            ),
        ),
        "user_car/car_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆信息编辑",
            "api_param" => array(
                array("name"=>"车辆编号（必填）","code"=>"user_car_id"),
                array("name"=>"品牌编号","code"=>"car_brand_id"),
                array("name"=>"型号编号","code"=>"car_model_id"),
                array("name"=>"配置编号","code"=>"car_config_id"),
                array("name"=>"所有人【1：本人；2：配偶；3：夫妻共有；4：子女；5：父母；6：其它】","code"=>"holder_type"),
                array("name"=>"所有人【holder_type选择其它时填写】","code"=>"holder_name"),
                array("name"=>"行驶公里数","code"=>"run_mileage"),
                array("name"=>"裸车价格（单位：万元）","code"=>"car_money"),
                array("name"=>"购买日期","code"=>"buy_time"),
                array("name"=>"付款方式【1：按揭；2：全款】","code"=>"pay_type"),
//                array("name"=>"使用年限【全款】","code"=>"full_use_year"),
                array("name"=>"贷款金额【按揭】（单位：万元）","code"=>"installment_loan_money"),
                array("name"=>"贷款周期【按揭】（单位：年）","code"=>"installment_loan_cycle"),
                array("name"=>"月还款金额【按揭】（单位：元）","code"=>"installment_month_repay"),
                array("name"=>"已还期数【按揭】","code"=>"installment_repay_count"),
                array("name"=>"办理银行【按揭】","code"=>"installment_handling_bank"),
                array("name"=>"是否抵押【1：否；2：是】","code"=>"is_mortgage"),
                array("name"=>"还款方式【1：先息后本；2：等额本息】","code"=>"mortgage_pay_type"),
                array("name"=>"抵押金额（单位：万元）","code"=>"mortgage_money"),
                array("name"=>"抵押日期","code"=>"mortgage_start_time"),
                array("name"=>"抵押到期","code"=>"mortgage_end_time"),
                array("name"=>"行驶证图片","code"=>"licence_url")
            ),
        ),
        "user_car/car_del" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "车辆信息删除",
            "api_param" => array(
                array("name"=>"车辆编号（必填）","code"=>"user_car_id"),
            ),
        ),
        "user_house/house_list" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>房产信息</font>列表",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_house/house_add" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "添加房产信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"所有人【1：本人；2：配偶；3：夫妻共有；4：子女；5：父母；6：其它】","code"=>"holder_type"),
                array("name"=>"所有人【当holder_type为其它时填写】","code"=>"holder_name"),
                array("name"=>"房产类型【1、住宅，2、别墅，3、商铺；4、商住两用，5、自建房；6、其它】","code"=>"house_type"),
                array("name"=>"房产类型名称【当house_type为其它时填写】","code"=>"house_type_name"),
//                array("name"=>"房产所在省编号","code"=>"province_id"),
//                array("name"=>"房产所在城市编号","code"=>"city_id"),
//                array("name"=>"房产所在区域编号","code"=>"area_id"),
                array("name"=>"房产地址","code"=>"address"),
                array("name"=>"房产面积(单位：平方米）","code"=>"area"),
                array("name"=>"房产估价（单位：万元）","code"=>"price"),
                array("name"=>"使用年限","code"=>"service_life"),
                array("name"=>"付款方式【1：按揭房；2：全款房】","code"=>"pay_type"),
//                array("name"=>"使用年限【全款】（单位：年）","code"=>"full_service_life"),
                array("name"=>"贷款金额【按揭】（单位：万元）","code"=>"installment_loan_money"),
                array("name"=>"贷款周期【按揭】（单位：期）","code"=>"installment_loan_cycle"),
                array("name"=>"还款方式【按揭】【1：先息后本；2：等额本息】","code"=>"installment_pay_type"),
                array("name"=>"月还款金额【按揭】（单位：元）","code"=>"installment_month_repay"),
                array("name"=>"已还期数【按揭】","code"=>"installment_repay_count"),
                array("name"=>"起始日期【按揭】","code"=>"installment_start_date"),
                array("name"=>"结清日期【按揭】","code"=>"installment_end_date"),
//                array("name"=>"办理银行【按揭】","code"=>"installment_handling_bank"),
                array("name"=>"是否抵押【1：否；2：是】","code"=>"is_mortgage"),
//                array("name"=>"抵押类型【1：一次抵押；2：二次抵押】","code"=>"mortgage_num"),
                array("name"=>"抵押金额（单位：万元）","code"=>"mortgage_money"),
                array("name"=>"还款方式【1：先息后本；2：等额本息】","code"=>"mortgage_pay_type"),
                array("name"=>"抵押日期","code"=>"mortgage_start_time"),
                array("name"=>"抵押到期","code"=>"mortgage_end_time"),
                array("name"=>"房产证图片","code"=>"licence_url")
            ),
        ),
        "user_house/house_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "编辑房产信息",
            "api_param" => array(
                array("name"=>"用户房产编号（必填）","code"=>"user_house_id"),
                array("name"=>"所有人【1：本人；2：配偶；3：夫妻共有；4：子女；5：父母；6：其它】","code"=>"holder_type"),
                array("name"=>"所有人【当holder_type为其它时填写】","code"=>"holder_name"),
                array("name"=>"房产类型【1、住宅，2、别墅，3、商铺；4、商住两用，5、自建房；6、其它】","code"=>"house_type"),
                array("name"=>"房产类型名称【当house_type为其它时填写】","code"=>"house_type_name"),
//                array("name"=>"房产所在省编号","code"=>"province_id"),
//                array("name"=>"房产所在城市编号","code"=>"city_id"),
//                array("name"=>"房产所在区域编号","code"=>"area_id"),
                array("name"=>"房产地址","code"=>"address"),
                array("name"=>"房产面积(单位：平方米）","code"=>"area"),
                array("name"=>"房产估价（单位：万元）","code"=>"price"),
                array("name"=>"使用年限","code"=>"service_life"),
                array("name"=>"付款方式【1：按揭房；2：全款房】","code"=>"pay_type"),
//                array("name"=>"使用年限【全款】（单位：年）","code"=>"full_service_life"),
                array("name"=>"贷款金额【按揭】（单位：万元）","code"=>"installment_loan_money"),
                array("name"=>"贷款周期【按揭】（单位：期）","code"=>"installment_loan_cycle"),
                array("name"=>"还款方式【按揭】【1：先息后本；2：等额本息】","code"=>"installment_pay_type"),
                array("name"=>"月还款金额【按揭】（单位：元）","code"=>"installment_month_repay"),
                array("name"=>"已还期数【按揭】","code"=>"installment_repay_count"),
                array("name"=>"起始日期【按揭】","code"=>"installment_start_date"),
                array("name"=>"结清日期【按揭】","code"=>"installment_end_date"),
//                array("name"=>"办理银行【按揭】","code"=>"installment_handling_bank"),
                array("name"=>"是否抵押【1：否；2：是】","code"=>"is_mortgage"),
//                array("name"=>"抵押类型【1：一次抵押；2：二次抵押】","code"=>"mortgage_num"),
                array("name"=>"抵押金额（单位：万元）","code"=>"mortgage_money"),
                array("name"=>"还款方式【1：先息后本；2：等额本息】","code"=>"mortgage_pay_type"),
                array("name"=>"抵押日期","code"=>"mortgage_start_time"),
                array("name"=>"抵押到期","code"=>"mortgage_end_time"),
                array("name"=>"房产证图片","code"=>"licence_url")
            ),
        ),
        "user_house/house_del" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "删除房产信息",
            "api_param" => array(
                array("name"=>"房产编号（必填）","code"=>"user_house_id"),
            ),
        ),
        "user_policy/policy_list" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>保单信息</font>列表",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_policy/policy_add" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "添加保单信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"保险公司","code"=>"company_name"),
                array("name"=>"保单类型【1：分红；2：寿险;3：万能；4：其他】","code"=>"policy_type"),
                array("name"=>"投保人","code"=>"applicant_name"),
                array("name"=>"投保方式 【1：年缴，2：月缴，3：季缴】","code"=>"pay_type"),
                array("name"=>"缴费金额【元/次】","code"=>"pay_money"),
                array("name"=>"生效日期","code"=>"start_time"),
                array("name"=>"保单图片","code"=>"img_url"),
            ),
        ),
        "user_policy/policy_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "编辑保单信息",
            "api_param" => array(
                array("name"=>"用户保单编号（必填）","code"=>"user_policy_id"),
                array("name"=>"保险公司","code"=>"company_name"),
                array("name"=>"保单类型【1：分红；2：寿险;3：万能】","code"=>"policy_type"),
                array("name"=>"投保人","code"=>"applicant_name"),
                array("name"=>"投保方式 【1：年缴，2：月缴，3：季缴】","code"=>"pay_type"),
                array("name"=>"缴费金额【元/次】","code"=>"pay_money"),
                array("name"=>"生效日期","code"=>"start_time"),
                array("name"=>"保单图片","code"=>"img_url"),
            ),
        ),
        "user_policy/policy_del" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "删除保单信息",
            "api_param" => array(
                array("name"=>"用户保单编号（必填）","code"=>"user_policy_id"),
            ),
        ),
        "user_credit_card/credit_card_list" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>信用卡信息</font>列表",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_credit_card/credit_card_add" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "添加信用卡信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"信用卡发卡行","code"=>"bank_id"),
                array("name"=>"额度","code"=>"amount"),
                array("name"=>"已使用额度","code"=>"used_amount"),
            ),
        ),
        "user_credit_card/credit_card_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "编辑信用卡信息",
            "api_param" => array(
                array("name"=>"用户信用卡编号（必填）","code"=>"user_credit_card_id"),
                array("name"=>"信用卡发卡行","code"=>"bank_id"),
                array("name"=>"额度","code"=>"amount"),
                array("name"=>"已使用额度","code"=>"used_amount"),
            ),
        ),
        "user_credit_card/credit_card_del" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "删除信用卡信息",
            "api_param" => array(
                array("name"=>"用户信用卡编号（必填）","code"=>"user_credit_card_id"),
            ),
        ),
        "user_company/company_info" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>公司信息</font>",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_company/company_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "公司信息编辑",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"企业名称","code"=>"company_name"),
                array("name"=>"企业法人","code"=>"law_man"),
                array("name"=>"营业执照编号","code"=>"licence_num"),
                array("name"=>"实际经营人","code"=>"manager"),
                array("name"=>"手机号码","code"=>"phone"),
//                array("name"=>"座机号码","code"=>"tel"),
                array("name"=>"企业类型【1：未知、2：国企  3：私企 、4：个体】","code"=>"company_type"),
                array("name"=>"注册资本（单位：万元）","code"=>"register_capital"),
                array("name"=>"注册日期","code"=>"register_date"),
                array("name"=>"申请人持股比例（单位：%）","code"=>"hold_ratio"),
                array("name"=>"员工人数","code"=>"employee_num"),
                array("name"=>"月均对公流水（单位：万元）","code"=>"flow_out"),
                array("name"=>"月均对私流水（单位：万元）","code"=>"flow_in"),
                array("name"=>"公司网址","code"=>"website_url"),
                array("name"=>"营业执照地址","code"=>"license_address"),
                array("name"=>"实际办公地址","code"=>"office_address"),
                array("name"=>"营业执照图片","code"=>"licence_url"),
            ),
        ),
        "user_loan/loan_list" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "<font color='red'>贷款信息</font>列表",
            "api_param" => [
                array("name"=>"客户ID","code"=>"user_id"),
            ],
        ),
        "user_loan/loan_add" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "添加贷款信息",
            "api_param" => array(
                array("name"=>"客户ID","code"=>"user_id"),
                array("name"=>"贷款机构","code"=>"loan_agent"),
                array("name"=>"贷款名称","code"=>"loan_name"),
                array("name"=>"贷款类型【1：p2p；2：信用贷；3：银行贷；4：其它】","code"=>"loan_type"),
                array("name"=>"贷款类型名称【当贷款类型为其它时填写】","code"=>"loan_type_name"),
                array("name"=>"贷款金额","code"=>"loan_money"),
                array("name"=>"贷款周期","code"=>"loan_cycle"),
                array("name"=>"已还款金额","code"=>"repay_amount"),
                array("name"=>"贷款日期","code"=>"loan_time"),
                array("name"=>"结清日期","code"=>"settle_time"),
            ),
        ),
        "user_loan/loan_edit" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "编辑贷款信息",
            "api_param" => array(
                array("name"=>"用户贷款编号（必填）","code"=>"user_loan_id"),
                array("name"=>"贷款机构","code"=>"loan_agent"),
                array("name"=>"贷款名称","code"=>"loan_name"),
                array("name"=>"贷款类型【1：p2p；2：信用贷；3：银行贷；4：其它】","code"=>"loan_type"),
                array("name"=>"贷款类型名称【当贷款类型为其它时填写】","code"=>"loan_type_name"),
                array("name"=>"贷款金额","code"=>"loan_money"),
                array("name"=>"贷款周期","code"=>"loan_cycle"),
                array("name"=>"已还款金额","code"=>"repay_amount"),
                array("name"=>"贷款日期","code"=>"loan_time"),
                array("name"=>"结清日期","code"=>"settle_time"),
            ),
        ),
        "user_loan/loan_del" => array(
            "api_group" => "客户信息相关接口",
            "api_name" => "删除贷款信息",
            "api_param" => array(
                array("name"=>"用户贷款编号（必填）","code"=>"user_loan_id"),
            ),
        ),
        //===================订单相关====================
        "bid/add_to_pool" => array(
            "api_group" => "订单相关",
            "api_name" => "发布订单",
            "api_param" => array(
                array("name"=>"用户ID","code"=>"user_id"),
                array("name"=>"省份编号","code"=>"province_id"),
                array("name"=>"城市编号","code"=>"city_id"),
                array("name"=>"贷款金额","code"=>"money"),
                array("name"=>"贷款周期","code"=>"period"),
                array("name"=>"贷款目的","code"=>"purpose"),
                array("name"=>"截止日期","code"=>"bid_end"),
            ),
        ),
        "bid/bid_list" => array(
            "api_group" => "订单相关",
            "api_name" => "订单列表",
            "api_param" => array(
                array("name"=>"状态【2：抢单中；3：待派单；4：进行中；5：已过期；6：已完成】","code"=>"pool_bid_status"),
                array("name"=>"最下面数据编号（首次请求为空,code）","code"=>"bottom_id"),
            ),
        ),
        "bid/bid_info" => array(
            "api_group" => "订单相关",
            "api_name" => "订单详情",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
            ),
        ),
        "bid/task_list" => array(
            "api_group" => "订单相关",
            "api_name" => "订单进度",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
                array("name"=>"最下面数据编号（首次请求为空,code）","code"=>"bottom_id"),
            ),
        ),
        "bid/bid_admin_list" => array(
            "api_group" => "订单相关",
            "api_name" => "投标顾问列表",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
            ),
        ),
        "bid/bid_open" => array(
            "api_group" => "订单相关",
            "api_name" => "开标",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
                array("name"=>"抢单ID","code"=>"agent_admin_tender_id"),
            ),
        ),
        "bid/bid_finish" => array(
            "api_group" => "订单相关",
            "api_name" => "结标",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
            ),
        ),
        "bid/bid_evaluate" => array(
            "api_group" => "订单相关",
            "api_name" => "评价",
            "api_param" => array(
                array("name"=>"订单ID","code"=>"user_pool_bid_id"),
                array("name"=>"评分","code"=>"rate"),
                array("name"=>"评价","code"=>"content"),
                array("name"=>"是否匿名【1：否；2：是】","code"=>"is_anonymous"),
            ),
        ),
        //===================信贷经理相关====================
        "agent_admin/agent_admin_detail" => array(
            "api_group" => "信贷经理相关",
            "api_name" => "信贷经理详情",
            "api_param" => array(
                array("name"=>"信贷经理编号","code"=>"agent_admin_id")
            ),
        ),
        "agent_admin/evaluate_list" => array(
            "api_group" => "信贷经理相关",
            "api_name" => "信贷经理评价列表",
            "api_param" => array(
                array("name"=>"信贷经理编号","code"=>"agent_admin_id"),
                array("name"=>"最下面数据编号（首次请求为空,code）","code"=>"bottom_id"),
            ),
        ),
    );
}